<?php
include('includes/basic.php');
if(isset($_POST['cid']))
{
$cid=$_POST['cid'];
$status1='N';
echo $cid;

$deactivate=mysql_query("update customer_master set record_status='$status1' where customer_id=$cid");
}
if(isset($_POST['pid']))
{
$pid=$_POST['pid'];
echo $pid;
$deactivatep=mysql_query("update project_master set record_status='N' where project_id=$pid");
}
if(isset($_POST['rid']))
{
$rid=$_POST['rid'];
echo $rid;
$deactivater=mysql_query("update user_master set record_status='N' where user_id=$rid");
}
?>